package com.example;

import cn.hutool.cron.CronUtil;
import cn.hutool.cron.task.Task;
import cn.hutool.extra.spring.SpringUtil;
import cn.hutool.setting.Setting;
import com.alibaba.fastjson.JSON;
import com.example.config.staticTask.MyStaticTask;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class DemoApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    
        MyStaticTask myStaticTask = SpringUtil.getBean(MyStaticTask.class);
        System.out.println(myStaticTask);
    }
    
}
